int is(int number) {
    int sum = 0;
    while (number > 0) {
        sum += number % 10;  
        number /= 10;
    }
    return sum == 5 ? 1 : 0;
}

void count_sum(int a, int b) {
    int count = 0, total = 0;
    for (int i = a; i <= b; i++) {
        if (is(i)) {
            count++;
            total += i;
        }
    }
    printf("count = %d, sum = %d\n", count, total);
}
